
<!DOCTYPE html>
<html lang="zh-Hans" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>react-native使用过程中的报错（持续更新中） - 默默默默燃</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="TriDiamond Obsidian,"> 
    <meta name="description" content="一枚前端搬砖队队员的记录册,ReactNative 遇到的报错react-native 矢量库 react-native-vector-icons的报错解决解决方法：将项目目录下 node_modules/react-nati,"> 
    <meta name="author" content="张白告丶"> 
    <link rel="alternative" href="atom.xml" title="默默默默燃" type="application/atom+xml"> 
    <link rel="icon" href="/img/favicon.png"> 
    <link href="https://fonts.loli.net/css?family=Roboto+Mono|Rubik&display=swap" rel="stylesheet">
    
<link rel="stylesheet" href="//at.alicdn.com/t/font_1429596_nzgqgvnmkjb.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.7.2/animate.min.css">

    
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/css/share.min.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/codemirror/5.48.4/codemirror.min.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/codemirror/5.48.4/theme/dracula.css">

    
<link rel="stylesheet" href="/css/obsidian.css">

    
<link rel="stylesheet" href="/css/ball-atom.min.css">

<meta name="generator" content="Hexo 4.2.0"></head>


<body class="loading">
    <div class="loader">
        <div class="la-ball-atom la-2x">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>
    <span id="config-title" style="display:none">默默默默燃</span>
    <div id="loader"></div>
    <div id="single">
    <div class="scrollbar gradient-bg-rev"></div>
<div id="top" style="display: block;">
    <div class="bar" style="width: 0;"></div>
    <div class="navigation animated fadeIn fast delay-1s">
        <img id="home-icon" class="icon-home" src="/img/favicon.png" alt="" data-url="https://zhanghao-web.github.io">
        <div id="play-icon" title="Play/Pause" class="iconfont icon-play"></div>
        <h3 class="subtitle">react-native使用过程中的报错（持续更新中）</h3>
        <div class="social">
            <!--        <div class="like-icon">-->
            <!--            <a href="javascript:;" class="likeThis active"><span class="icon-like"></span><span class="count">76</span></a>-->
            <!--        </div>-->
            <div>
                <div class="share">
                    
                        <a href="javascript:;" class="iconfont icon-share1"></a>
                        <div class="share-component-cc" data-disabled="facebook,douban,linkedin,diandian,tencent,google"></div>
                    
                </div>
            </div>
        </div>
    </div>
</div>

    <div class="section">
        <div class=article-header-wrapper>
    <div class="article-header">
        <div class="article-cover animated fadeIn" style="
            animation-delay: 600ms;
            animation-duration: 1.2s;
            background-image: 
                radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
                url(/img/cover.jpg) ">
        </div>
        <div class="else">
            <p class="animated fadeInDown">
                
                <a href="/categories/react-native"><b>「
                    </b>REACT-NATIVE<b> 」</b></a>
                
                March 01, 2018
            </p>
            <h3 class="post-title animated fadeInDown"><a href="/2018/03/01/react-native/react-native%E4%BD%BF%E7%94%A8%E8%BF%87%E7%A8%8B%E4%B8%AD%E7%9A%84%E6%8A%A5%E9%94%99%EF%BC%88%E6%8C%81%E7%BB%AD%E6%9B%B4%E6%96%B0%E4%B8%AD%EF%BC%89/" title="react-native使用过程中的报错（持续更新中）" class="">react-native使用过程中的报错（持续更新中）</a>
            </h3>
            
            <p class="post-count animated fadeInDown">
                
                <span>
                    <b class="iconfont icon-text2"></b> <i>Words count</i>
                    6.1k
                </span>
                
                
                <span>
                    <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                    6 mins.
                </span>
                
                
                
                <span id="busuanzi_container_page_pv">
                    <b class="iconfont icon-read"></b> <i>Read count</i>
                    <span id="busuanzi_value_page_pv">0</span>
                </span>
                
            </p>
            
            
            <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/react-native/" rel="tag">react-native</a></li></ul>
            
        </div>
    </div>
</div>

<div class="screen-gradient-after">
    <div class="screen-gradient-content">
        <div class="screen-gradient-content-inside">
            <div class="bold-underline-links screen-gradient-sponsor">
                <p>
                    <span class="animated fadeIn delay-1s"></span>
                </p>
            </div>
        </div>
    </div>
</div>

<div class="article">
    <div class='main'>
        <div class="content markdown animated fadeIn">
            <h1 id="ReactNative-遇到的报错"><a href="#ReactNative-遇到的报错" class="headerlink" title="ReactNative 遇到的报错"></a>ReactNative 遇到的报错</h1><h2 id="react-native-矢量库-react-native-vector-icons的报错解决"><a href="#react-native-矢量库-react-native-vector-icons的报错解决" class="headerlink" title="react-native 矢量库 react-native-vector-icons的报错解决"></a>react-native 矢量库 react-native-vector-icons的报错解决</h2><p><img src="http://img.blog.csdn.net/20180206155016745?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzc0ODEwODE=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="imgerror"><br>解决方法：将项目目录下 node_modules/react-native/local-cli/core/<strong>fixtures</strong>/files/package.json删除<br><a id="more"></a><br>如果还出现这个错误<br><img src="http://img.blog.csdn.net/20180206155244544?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzc0ODEwODE=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="imgerror1"></p>
<p>解决方案：删除重新安装react-native-vector-icons 安装完成后执行<br> react-native link 继续修改问题1的错误</p>
<h2 id="unRecognized-font-family-‘XXXXX’"><a href="#unRecognized-font-family-‘XXXXX’" class="headerlink" title="unRecognized font family ‘XXXXX’"></a>unRecognized font family ‘XXXXX’</h2><p>解决方案：<br><img src="http://img.blog.csdn.net/20180206155743569?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzc0ODEwODE=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="imgerror2"></p>
<h2 id="react-native开发踩坑之-ios上react-native-vector-icons-的error：unRecognized-font-family-‘FontAwesome’"><a href="#react-native开发踩坑之-ios上react-native-vector-icons-的error：unRecognized-font-family-‘FontAwesome’" class="headerlink" title="react-native开发踩坑之 ios上react-native-vector-icons 的error：unRecognized font family ‘FontAwesome’"></a>react-native开发踩坑之 ios上react-native-vector-icons 的error：unRecognized font family ‘FontAwesome’</h2><p><img src="http://img.blog.csdn.net/20170405222455738?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvamlhbmdjczUyMA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="imgerror3"><br>接下来解释一下，首先看第一步：把node_modules/react-native-vector-icons下的fonts文件添加到工程中，这时候往往忽略了一个重点，后面那一句</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Make sure your app is checked under “Add to targets” and that “Create groups” is checked <span class="keyword">if</span> you add the whole folder</span><br></pre></td></tr></table></figure>
<p>这一句很关键，意思是确认必须要确认是Add to targets和Create groups，一开始我是直接右键把fonts目录add到工程的，根本没看到这两个玩意，结果就是失败，有点奇怪，后来我仔细看了一下这个步骤描述，</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">drag the folder Fonts to your project <span class="keyword">in</span> Xcode</span><br></pre></td></tr></table></figure>
<h2 id="ReactNative-Ios报出-‘React-RCTBundleURLProvider-h’-file-not-found错误"><a href="#ReactNative-Ios报出-‘React-RCTBundleURLProvider-h’-file-not-found错误" class="headerlink" title="ReactNative Ios报出 ‘React/RCTBundleURLProvider.h’ file not found错误"></a>ReactNative Ios报出 ‘React/RCTBundleURLProvider.h’ file not found错误</h2><p>我在创建react-native项目时  npm了一个第三方库  结果一打开 xcode 竟然报错 React/RCTBundleURLProvider.h’ file not found；</p>
<p>然后 我试了各种网上的方法试了一遍， 还是不行</p>
<p>就在我要放弃的时候 ，突然想到把网上的方法 结合一下 试试，结果好了。</p>
<p>以下就是我的解决方法</p>
<blockquote>
<p>1.打开Mac里面的终端，进入项目所在的文件夹目录；<br>2.把项目里面的 node_modules 文件夹删除掉，然后执行 npm install 命令<br>3.npm install安装完成后， 执行react-native upgrade命令<br>4.npm start<br>5.打开xcode (如果还报错)<br>6.左侧点击跟项目目录 -&gt; 选择右侧 Build Settings -&gt; 选择 All &amp; Combined -&gt; 搜索框输入 Always Search User Paths -&gt; 将 Always Search User Paths 设置为 Yes -&gt; Clean -&gt; Build<br><img src="https://img.hacpai.com/file/2017/6/5951e4a8885d4c37a63a0a275f893c99-image.png" alt="imgerror4"></p>
</blockquote>
<h2 id="RN-SectionList-遇到-missing-keys-for-items-make-sure-to-specify-a-key-property-on-each-item-的-问题解决"><a href="#RN-SectionList-遇到-missing-keys-for-items-make-sure-to-specify-a-key-property-on-each-item-的-问题解决" class="headerlink" title="RN SectionList 遇到 missing keys for items, make sure to specify a key property on each item 的 问题解决"></a>RN SectionList 遇到 missing keys for items, make sure to specify a key property on each item 的 问题解决</h2><p><img src="http://img.blog.csdn.net/20180107172034312?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzc0ODEwODE=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="imgerror5"><br>它警告我们每个item 要有不同的key</p>
<p>默认情况下每行都需要提供一个不重复的key属性。你也可以提供一个keyExtractor函数来生成key。<br>把这个属性添加到<br> <SectionList/> 里面<br> <figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">keyExtractor = &#123;<span class="keyword">this</span>._extraUniqueKey&#125;   </span><br><span class="line">  _extraUniqueKey(item ,index)&#123;</span><br><span class="line"> eturn <span class="string">"index"</span>+index+item;</span><br><span class="line"> &#125;</span><br></pre></td></tr></table></figure></p>
<p>这是每个item要设置key, 同样每个子控件也不能放过， 一定要设置它的key， 要不然这个屎黄色一直伴着你 多烦~~</p>
<h2 id="react-native-运行时，出现如下报错："><a href="#react-native-运行时，出现如下报错：" class="headerlink" title="react-native 运行时，出现如下报错："></a>react-native 运行时，出现如下报错：</h2><p><img src="https://upload-images.jianshu.io/upload_images/5227057-07eba5a0ae5b9f0c.png" alt="imgerror6"><br>首先试试react-native start 或 npm start 看看是否报错，如果报错出现ERROR:Metro Bundler can’t listen on port 8081</p>
<p>则是8081端口号被占用</p>
<p>解决方案：执行sudo lsof -i :8081  kill -9 进程号</p>
<p><img src="https://upload-images.jianshu.io/upload_images/5227057-e66a166a6e956daa.png" alt="imgerrot7"></p>
<h2 id="更多ReactNative问题总结集合，请移步大佬链接"><a href="#更多ReactNative问题总结集合，请移步大佬链接" class="headerlink" title="更多ReactNative问题总结集合，请移步大佬链接"></a>更多ReactNative问题总结集合，请移步大佬链接</h2><p><a href="https://www.jianshu.com/p/98c8f2a970eb" target="_blank" rel="noopener">react-native 问题</a></p>

            <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]-->
            <audio id="audio" loop="1" preload="auto" controls="controls"
                data-autoplay="false">
                <source type="audio/mpeg" src="">
            </audio>
            
            <ul id="audio-list" style="display:none">
                
                
                <li title='0' data-url='/statics/chengdu.mp3'></li>
                
                    
            </ul>
            
            
            
    <div id='gitalk-container' class="comment link"
        data-ae='true'
        data-ci='ec894e2b66f752e8b7fb'
        data-cs='3ccc2e92bb350688fe2c2dc2930189b62622bfb1'
        data-r='blog-comments'
        data-o='TriDiamond'
        data-a='TriDiamond'
        data-d='undefined'
    >Comments</div>


            
            
        </div>
        <div class="sidebar">
            <div class="box animated fadeInRight">
                <div class="subbox">
                    <img src="https://res.cloudinary.com/tridiamond/image/upload/v1573019751/TriDiamond_logo_ui_xeublz.jpg" height=300 width=300></img>
                    <p>张白告丶</p>
                    <span>Think like an artist, develop like an artisan</span>
                    <dl>
                        <dd><a href="https://github.com/zhanghao-web" target="_blank"><span
                                    class=" iconfont icon-github"></span></a></dd>
                        <dd><a href="" target="_blank"><span
                                    class=" iconfont icon-twitter"></span></a></dd>
                        <dd><a href="" target="_blank"><span
                                    class=" iconfont icon-stack-overflow"></span></a></dd>
                    </dl>
                </div>
                <ul>
                    <li><a href="/">149 <p>Articles</p></a></li>
                    <li><a href="/categories">23 <p>Categories</p></a></li>
                    <li><a href="/tags">47 <p>Tags</p></a></li>
                </ul>
            </div>
            
            
            
            <div class="box sticky animated fadeInRight faster">
                <div id="toc" class="subbox">
                    <h4>Contents</h4>
                    <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#ReactNative-遇到的报错"><span class="toc-number">1.</span> <span class="toc-text">ReactNative 遇到的报错</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#react-native-矢量库-react-native-vector-icons的报错解决"><span class="toc-number">1.1.</span> <span class="toc-text">react-native 矢量库 react-native-vector-icons的报错解决</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#unRecognized-font-family-‘XXXXX’"><span class="toc-number">1.2.</span> <span class="toc-text">unRecognized font family ‘XXXXX’</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#react-native开发踩坑之-ios上react-native-vector-icons-的error：unRecognized-font-family-‘FontAwesome’"><span class="toc-number">1.3.</span> <span class="toc-text">react-native开发踩坑之 ios上react-native-vector-icons 的error：unRecognized font family ‘FontAwesome’</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#ReactNative-Ios报出-‘React-RCTBundleURLProvider-h’-file-not-found错误"><span class="toc-number">1.4.</span> <span class="toc-text">ReactNative Ios报出 ‘React&#x2F;RCTBundleURLProvider.h’ file not found错误</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#RN-SectionList-遇到-missing-keys-for-items-make-sure-to-specify-a-key-property-on-each-item-的-问题解决"><span class="toc-number">1.5.</span> <span class="toc-text">RN SectionList 遇到 missing keys for items, make sure to specify a key property on each item 的 问题解决</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#react-native-运行时，出现如下报错："><span class="toc-number">1.6.</span> <span class="toc-text">react-native 运行时，出现如下报错：</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#更多ReactNative问题总结集合，请移步大佬链接"><span class="toc-number">1.7.</span> <span class="toc-text">更多ReactNative问题总结集合，请移步大佬链接</span></a></li></ol></li></ol>
                </div>
            </div>
            
            
        </div>
    </div>
</div>

    </div>
</div>
    <div id="back-to-top" class="animated fadeIn faster">
        <div class="flow"></div>
        <span class="percentage animated fadeIn faster">0%</span>
        <span class="iconfont icon-top02 animated fadeIn faster"></span>
    </div>
</body>
<footer>
    <p class="copyright" id="copyright">
        &copy; 2020
        <span class="gradient-text">
            张白告丶
        </span>.
        Powered by <a href="http://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        Theme
        <span class="gradient-text">
            <a href="https://github.com/TriDiamond/hexo-theme-obsidian" title="Obsidian" target="_blank" rel="noopener">Obsidian</a>
        </span>
        <small><a href="https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/CHANGELOG.md" title="v1.4.3" target="_blank" rel="noopener">v1.4.3</a></small>
    </p>
</footer>

<script type="text/javascript" src="https://cdn.bootcss.com/mathjax/2.7.6/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<script>
  MathJax.Hub.Config({
    "HTML-CSS": {
      preferredFont: "TeX",
      availableFonts: ["STIX", "TeX"],
      linebreaks: {
        automatic: true
      },
      EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50)
    },
    tex2jax: {
      inlineMath: [
        ["$", "$"],
        ["\\(", "\\)"]
      ],
      processEscapes: true,
      ignoreClass: "tex2jax_ignore|dno",
      skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
    },
    TeX: {
      noUndefined: {
        attributes: {
          mathcolor: "red",
          mathbackground: "#FFEEEE",
          mathsize: "90%"
        }
      },
      Macros: {
        href: "{}"
      }
    },
    messageStyle: "none"
  });
</script>
<script>
  function initialMathJax() {
    MathJax.Hub.Queue(function () {
      var all = MathJax.Hub.getAllJax(),
        i;
      // console.log(all);
      for (i = 0; i < all.length; i += 1) {
        console.log(all[i].SourceElement().parentNode)
        all[i].SourceElement().parentNode.className += ' has-jax';
      }
    });
  }

  function reprocessMathJax() {
    if (typeof MathJax !== 'undefined') {
      MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
    }
  }
</script>



    
<link rel="stylesheet" href="//cdn.bootcss.com/gitalk/1.5.0/gitalk.min.css">

    
<script src="//cdn.bootcss.com/gitalk/1.5.0/gitalk.min.js"></script>



<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="/js/plugin.js"></script>
<script src="/js/obsidian.js"></script>
<script src="/js/jquery.truncate.js"></script>
<script src="/js/search.js"></script>


<script src="//cdn.bootcss.com/typed.js/2.0.10/typed.min.js"></script>


<script src="//cdn.bootcss.com/blueimp-md5/2.12.0/js/md5.min.js"></script>


<script src="//cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/js/social-share.min.js"></script>


<script src="https://cdn.bootcss.com/codemirror/5.48.4/codemirror.min.js"></script>

    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/javascript/javascript.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/css/css.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/xml/xml.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/htmlmixed/htmlmixed.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/clike/clike.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/php/php.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/shell/shell.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/python/python.min.js"></script>




    
<script src="/js/busuanzi.min.js"></script>

    <script>
        $(document).ready(function () {
            if ($('span[id^="busuanzi_"]').length) {
                initialBusuanzi();
            }
        });
    </script>



<link rel="stylesheet" href="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe.min.css">
<link rel="stylesheet" href="//cdn.bootcss.com/photoswipe/4.1.3/default-skin/default-skin.min.css">


<script src="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe.min.js"></script>
<script src="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>



    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="//www.googletagmanager.com/gtag/js?id=UA-149874671-1"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());

        gtag('config', 'UA-149874671-1');
    </script>





<script>
    function initialTyped () {
        var typedTextEl = $('.typed-text');
        if (typedTextEl && typedTextEl.length > 0) {
            var typed = new Typed('.typed-text', {
                strings: ["Think like an artist, develop like an artisan", "艺术家思维去思考问题，工匠创造精神去开发"],
                typeSpeed: 90,
                loop: true,
                loopCount: Infinity,
                backSpeed: 20,
            });
        }
    }

    if ($('.article-header') && $('.article-header').length) {
        $(document).ready(function () {
            initialTyped();
        });
    }
</script>




</html>
